import java.net.InetAddress;

public class Header{
	//attributes
	int portID;
	InetAddress address;
	int bufferAvailable;
	//constructors
	
	public Header(){
		portID = 65000;
		address = null;
		bufferAvailable = 0;		
	}
	
	public Header(InetAddress address, int portID, int buffer){
		this.address = address;
		this.portID = portID;
		bufferAvailable = buffer;
	}
	//methods
	
	
		//accessors
	public int getPortID(){
		return portID;
	}
	public String getAddress(){
		return address.toString();
	}
		//mutators
	public void setPortID(int portNumber){
		portID = portNumber;
	}
	public void setAddy(InetAddress addy){
		address = addy;
	}
}